// samsting : this file is auto create.

#include "Rds_Region/2014-08-15/DescribeImportsForSQLServerResponse.h"

namespace aliyun { namespace Rds_Region {

DescribeImportsForSQLServerResponse::DescribeImportsForSQLServerResponse() {
}

int DescribeImportsForSQLServerResponse::SQLServerImport::GetImportId(void) const {
  return ImportId_;
}

const string& DescribeImportsForSQLServerResponse::SQLServerImport::GetFileName(void) const {
  return FileName_;
}

const string& DescribeImportsForSQLServerResponse::SQLServerImport::GetDBName(void) const {
  return DBName_;
}

const string& DescribeImportsForSQLServerResponse::SQLServerImport::GetImportStatus(void) const {
  return ImportStatus_;
}

const string& DescribeImportsForSQLServerResponse::SQLServerImport::GetStartTime(void) const {
  return StartTime_;
}

const std::vector<DescribeImportsForSQLServerResponse::SQLServerImport>& DescribeImportsForSQLServerResponse::GetItems(void) const {
  return Items_;
}

int DescribeImportsForSQLServerResponse::GetTotalRecordCounts(void) const {
  return TotalRecordCounts_;
}

int DescribeImportsForSQLServerResponse::GetPageNumber(void) const {
  return PageNumber_;
}

int DescribeImportsForSQLServerResponse::GetSQLItemsCounts(void) const {
  return SQLItemsCounts_;
}

const char* DescribeImportsForSQLServerResponse::BaseKey(void) {
  return "DescribeImportsForSQLServerResponse";
}

void DescribeImportsForSQLServerResponse::UnmarshallerMap(std::map<string, string>& response_map) {
  int Items__length = 0;
  UnmarshallerInt(Items__length, response_map, "DescribeImportsForSQLServerResponse.Items.Length");
  if(Items__length >= 0) {
    Items_.resize(Items__length);
    for(int i1 = 0; i1 < Items__length; i1++) {
      UnmarshallerInt(Items_[i1].ImportId_, response_map, "DescribeImportsForSQLServerResponse.Items["+string_ValueOfInt(i1)+"].ImportId");
      UnmarshallerString(Items_[i1].FileName_, response_map, "DescribeImportsForSQLServerResponse.Items["+string_ValueOfInt(i1)+"].FileName");
      UnmarshallerString(Items_[i1].DBName_, response_map, "DescribeImportsForSQLServerResponse.Items["+string_ValueOfInt(i1)+"].DBName");
      UnmarshallerString(Items_[i1].ImportStatus_, response_map, "DescribeImportsForSQLServerResponse.Items["+string_ValueOfInt(i1)+"].ImportStatus");
      UnmarshallerString(Items_[i1].StartTime_, response_map, "DescribeImportsForSQLServerResponse.Items["+string_ValueOfInt(i1)+"].StartTime");
    } // for(int i1 = 0; i1 < Items__length; i1++) {
  } // if(Items__length >= 0) {

  UnmarshallerInt(TotalRecordCounts_, response_map, "DescribeImportsForSQLServerResponse.TotalRecordCounts");
  UnmarshallerInt(PageNumber_, response_map, "DescribeImportsForSQLServerResponse.PageNumber");
  UnmarshallerInt(SQLItemsCounts_, response_map, "DescribeImportsForSQLServerResponse.SQLItemsCounts");
}


} } // namespace aliyun { namespace Rds_Region {

// end of file 
